<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //java --- 后台
        //数据格式：var uaerPage = {pages:10,users:[{},{}],pageNo:1,pageSize:100,total:100};
        //异步请求
        // $.post("/user/search",function(res){
            //res = {pages:10,users:[{},{}],pageNo:1,pageSize:100,total:100};
            var uaerPage = {pages:10,users:[{},{}],pageNo:1,pageSize:100,total:100};
            var{users,...userPage2} = uaerPage; 
            
        // });
    </script>
</body>
</html>